#include "Interface.h"

#include <unistd.h>
#include <thread>


void GetRequest(CallbackFunc cb)
{
    std::thread([&cb](){
        ::sleep(1);
        std::string src("I am from dynamic library");
        cb(src.data(), src.length()); })
        .detach();
}